package com.daka.service.impl;

import com.daka.dao.AdministrativeCountyMapper;
import com.daka.entity.AdministrativeCounty;
import com.daka.service.AdministrativeCountyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author beliveli on 2016/3/31 0031.
 */
@Service("administrativeCountyService")
@SuppressWarnings("unused")
public class AdministrativeCountyServiceImpl implements AdministrativeCountyService {

    @Resource
    private AdministrativeCountyMapper administrativeCountyMapper;

    public AdministrativeCounty selectByCode(String code) {
        return administrativeCountyMapper.selectByCode(code);
    }

    public List<AdministrativeCounty> selectAll() {
        return administrativeCountyMapper.selectAll();
    }
}
